package top.tangyh.lamp.care.vo.result;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import top.tangyh.lamp.care.entity.BHl7Yz;

import java.time.LocalDateTime;
import java.util.Date;


@Data
 @Schema(description ="手术信息类")
public class OperaInfoOutVO {

    private Long id;

     @Schema(description ="手术时间")
    private LocalDateTime operaTime;

     @Schema(description ="手术名称")
    private String operaName;

     @Schema(description ="住院号")
    private String hospitalNumber;

    public OperaInfoOutVO(BHl7Yz yzPO) {
        this.id = yzPO.getId();
        this.operaTime = yzPO.getPlanTime();
        this.operaName = yzPO.getOrderName();
        this.hospitalNumber = yzPO.getHospitalNumber();
    }

}
